#ifndef GOWILDSEARCHCMD_H
#define GOWILDSEARCHCMD_H

#include "Command/BaseCmd.h"
#include "Protocol/GowildProtocol.h"

class GowildSearchCmd : public BaseCmd
{
    Q_OBJECT
public:

    enum{FunctionCode = GowildProtocol::GowildSearch};

    Q_INVOKABLE explicit GowildSearchCmd(QObject *parent = 0);

    Package toPackage();
    void unPackage(Package package);

    QString ip() const;
    void setIp(const QString &ip);

    quint16 port() const;
    void setPort(const quint16 &port);

    QString company() const;
    void setCompany(const QString &company);

private:
    QString m_ip;
    quint16 m_port;
    QString m_company;
};

#endif // GOWILDSEARCHCMD_H
